<?php
 global $error_list;
?>
<div id="error_view">
<ul>
<?php foreach($error_list as $error_item): ?>
 <li><?=$error_item?></li>
<?php endforeach;?>
</ul>
</div>